<?
include("../gestione/includes/config.inc.php");
include("../gestione/includes/auth.lib.php");
include("../gestione/includes/product_new.class.php");
include("../gestione/includes/e-commerce_new.class.php");
include("../gestione/includes/news.class.php");
$lang = "ita";
$pid = $_GET['pid'];
$newSession = new websession();
if($newSession->getStatus())  {
  $newOrder = new order($pid);
  $content = $newOrder->pop_viewOrder();
} else {
   $content = "<script language=Javascript>self.close();window.opener.location.href='webproduct.php?op=register';</script>";
  }
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="../CSS/e-com.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Dettaglio ordine</title>
</head>
<body>
<?=$content?>
</body>
</html>
